<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>17_案例练习-求200-300之间所有的奇数的和（用continue）</title>
    </head>
    <body>
        <script>
            var sum = 0;

            for(var i = 200; i <= 300; i++){
                if(i % 2 == 0) {
                    continue;
                }
                sum += i;
            }

            console.log(sum);
        </script>
    </body>
</html>